package org.scheduler4j.scheduler;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.scheduler4j.DayDuration;

/**
 * Scheduler set to weekly, such as occurred every Monday/Friday, 
 * and you can set the scheduler to be Monday for each 2 weeks
 * @author Eric
 *
 */
public class WeeklyScheduler extends AbstractScheduler implements Scheduler {

	/**
	 * the date to be applied by this scheduler.
	 */
	private List<Integer> datesSelected = new ArrayList<Integer>();

	@Override
	public List<Date> schedule(DayDuration duration) {
		// TODO need to be implemented 
		return null;
	}

	public List<Integer> getDatesSelected() {
		return datesSelected;
	}

	public void setDatesSelected(List<Integer> datesSelected) {
		this.datesSelected = datesSelected;
	}
}
